--公会handel
require "Common/define"
require "Logic/CtrlManager"
require "Logic/Config"
require "Net/roleListHandler"
require "proto/union/message/ReqAskJoinUnionMessage"
require "proto/union/message/ReqCreateUnionMessage"
require "proto/union/message/ReqDisbandUnionMessage"
require "proto/union/message/ReqHandleJoinListMessage"
require "proto/union/message/ReqJonUnionMessage"
require "proto/union/message/ReqKickMemberInfoMessage"
require "proto/union/message/ReqUnionForceRanksMessage"

guildHandel = guildHandel or {};
G.serverData = G.serverData or {};

--返回英雄贡献榜
function guildHandel.ResUseHeroRankHandler(msg)

end

--返回工会个人Boss信息
function guildHandel.ResUnionBossInfoHandler(msg)

end

--返回工会Boss战斗
function guildHandel.ResUnionBossBattleHandler(msg)
    logicMgr.GuildManager.Track_bossBattle()
end

--请求展示指定玩家的称号列表,0返回玩家自己
function guildHandel.SendShowTitle(msg)
    local rdtr = ReqSendShowTitleMessage.New();
    rdtr.playerId = msg or 0;
    sendReqMessage(rdtr);
end

--请求已激活的称号列表
function guildHandel.SendTitleInfo(msg)
    local rdtr = ReqSendTitleInfoMessage.New();
    sendReqMessage(rdtr);
end

--请求保存自身的展示称号列表
function guildHandel.SaveShowTitle(msg, data)
    local rdtr = ReqSaveShowTitleMessage.New();
    rdtr.titleList = data;
    sendReqMessage(rdtr);

end

--请求获取公会排行
function guildHandel.SendUnionPowerRanks()
    local rdtr = ReqUnionForceRanksMessage.New();
    sendReqMessage(rdtr);
end

